package net.xdclass.service;

import net.xdclass.VO.AddressVO;
import net.xdclass.request.AddressAddRequest;
import net.xdclass.util.JsonData;

import java.util.List;

/**
 * @author guangyang
 * @since 2023-01-09
 **/
public interface AddressService {
    AddressVO detail(int id);

    JsonData add(AddressAddRequest reqeust);

    int del(int addressId);

    List<AddressVO> listUserAllAddress();
}
